﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace LanDBom.Models.Technology
{
    public class Get_Library
    {
        LDbaseEntities LD = new LDbaseEntities();
        public List<libray> get_Library(int ST_ID)
        {
            List<libray> librayList = LD.libray.ToList();
            if (ST_ID != -99)
            {
                librayList = librayList.Where(x => x.ST_ID == ST_ID).ToList();
            }
            return librayList;
        }
    }
}